package com.dengyafei.service;

import com.dengyafei.bean.PositionEntity;
import com.dengyafei.domin.dto.PositionAverageSalaryCityDTO;
import com.dengyafei.domin.dto.PositionMaxSalaryDTO;
import com.dengyafei.domin.dto.PreferScorePositionDTO;
import com.dengyafei.domin.vo.*;
import com.dengyafei.result.PageEntity;
import com.dengyafei.result.SearchPositionEntity;

import java.nio.file.ProviderNotFoundException;
import java.util.List;


/**
 * @author 邓亚非
 */
public interface PositionService {

    PageEntity<PositionEntity> queryByHid(PageVo pageVo);

    Integer insertOnePosition(PositionInsertVO positionInsertVO);

    PageEntity<PositionEntity> queryByName(PositionQueryByNameVO positionQueryByNameVO);

    Integer editPosition(PositionEditVO positionEditVO);

    Integer deletePosition(PositionDeleteVO positionDeleteVO);

    PageEntity<PositionEntity> queryByCondition(PositionQueryByNameVO positionQueryByNameVO);

    List<PositionEntity> queryByHid(PositionLoadVO positionLoadVO);

    List<PreferScorePositionDTO> queryScorePosition();

    List<PositionAverageSalaryCityDTO> queryPositionAverageSalaryCity();

    List<PositionMaxSalaryDTO> queryPositionMaxSalary();

    List<PositionEntity> queryPositions();
}